package com.bluefish.bltuan.service;

import java.util.List;

import com.bluefish.bltuan.module.mail.EmailTemplate;
import com.bluefish.bltuan.module.mail.Subscriber;
import com.bluefish.bltuan.module.user.User;

public interface EmailService {

    void sendEmail(String from, String to, String subject, String content);

    void sendEmail(String from, List<String> tos, String subject, String content);

    void sendRegisterEmail(User user, String activeLink, EmailTemplate template);

    void sendFindPasswordEmail(User user, String newPassword);

    void sendSubscriberEmail(Subscriber subscriber);

    void sendSubscriberNotYetEmail(Subscriber subscriber);
}
